// HelloCV.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"

using namespace std;
using namespace cv;


int main()
{
	Mat image;

	// read an image
	image= imread("image.jpg");	
	printf("width: %d; height %d\n", image.cols, image.rows);

	// create image window named "My Image"
	namedWindow("My Image");

	// show the image on window
	imshow("My Image", image);

	// wait key for 5000 ms
	cv::waitKey(5000);

	return 0;
}
